Skip to content

2.0.0 #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 4, 2015
Merged

2.0.0 #198

merged 6 commits into from
Feb 4, 2015

Conversation

jmdobry
Copy link
Member

@jmdobry jmdobry commented Oct 5, 2014

js-data is the framework-agnostic version of angular-data. Angular-data 2.0 (not yet released) will be renamed to js-data-angular, and will have js-data as a hard dependency. Js-data-angular will be a wrapper around js-data that adds back into js-data the angular-specific stuff that was taken out to make js-data framework-agnostic. Upgrading from angular-data 1.x to js-data + js-data-angular will require minimal changes to your code. Plus, if you refactor from Angular to framework, your data layer will be able to remain mostly intact thanks to js-data.


For Angular-data 2.0, all non-Angular code has been moved to Js-data and the remaining Angular-specific code will be a wrapper around Js-data.

This project will be moved to the js-data organization and will be renamed to js-data-angular.

Before, you had angular-data.js and angular.module('myApp', ['angular-data.DS']), now you will have:

  • js-data.js
  • (optional) js-data-http.js (This http adapter uses axios)
  • js-data-angular.js (Provides an http adapter that uses $http if you don't load js-data-http)

and

angular.module('myApp', ['js-data'])

Breaking changes

Some of these haven't happened yet

  • GitHub project renamed to js-data-angular
  • GitHub project moved to the js-data organization
  • Angular module renamed from angular-data.DS to js-data
  • DSLocalStorageAdapter is no longer bundled, but is each separate from js-data-angular.
  • deserialize and serialize are now configuration options used solely by the http adapter
  • The API for bindOne and bindAll has been changed to be more consistent with the rest of the API

@diwu1989
Copy link

diwu1989 commented Oct 7, 2014

Wow, congrats on how fast you've evolved this project!

@jmdobry jmdobry self-assigned this Nov 8, 2014
@jmdobry jmdobry added this to the 2.0.0 milestone Nov 8, 2014
@tagazok
Copy link

tagazok commented Nov 17, 2014

I have downloaded js-data and I can see in the documentation how to use js-data-angular.js. But neither bower nor npm can install js-data-angular.js.
The repo does not exist :/
Any idea when it will be available for testing?

@jmdobry
Copy link
Member Author

jmdobry commented Nov 17, 2014

It is available for testing, you just have to specify the git url of this repo for now. e.g. add "js-data-angular": "https://github.com/jmdobry/angular-data.git#v2" to your bower dependencies.

@jiteshna
Copy link

Going forward are we supposed to use js-data + js-data-angular, for angular ??

@jmdobry
Copy link
Member Author

jmdobry commented Nov 18, 2014

@jiteshna Not yet, 2.0.0 hasn't been released...

@jmdobry jmdobry merged commit 53b2dee into master Feb 4, 2015
@jmdobry jmdobry deleted the v2 branch February 4, 2015 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants